// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------

import request from "@/utils/request.js";

/**
 * 获取主页数据
 * 
 */
export function hhrAppIndexSelfOrderStatistics(data) {
	return request.get("/HhrStatisticsController/hhrAppIndexSelfOrderStatistics",data);
}

export function getWxUserByCode(data) {
	return request.get("/HhrLoginController/getWxUserByCode",data,{
		noAuth:true
	});
}

// 根据字典类型查询字典数据信息
export function getDicts(dictType,data) {
	return request.get("/system/dict/data/type/"+dictType,data,{
		noAuth:true
	});
}

export function getAgreement(data) {
	return request.get("/AgreementInfoController/detail",data,{
		noAuth:true
	});
}

export function h5Login(data) {
	return request.get("/HhrLoginController/getClientUserByClientUserPhone",data,{
		noAuth:true
	});
}





